package com.yg.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yg.config.result.R;
import com.yg.entity.readAndWriteTemplates.CourseBuildRead;
import com.yg.entity.singleTemplates.CourseBuild;

import javax.servlet.http.HttpServletResponse;
import java.io.FileInputStream;

/**
 * <p>
 * 对应sheet09，此表为课程建设表 服务类
 * </p>
 *
 * @author YingGu
 * @since 2020-11-04
 */
public interface CourseBuildService extends IService<CourseBuild> {

    //excel录入
    R readExcel(FileInputStream fileInputStream);

    //excel导出
    R writeExcel(HttpServletResponse response,CourseBuild courseBuild);

    //查询所有课程建设情况一览表
    R selectAllCourseBuild(String current,String limit);

    //条件查询
    R courseBuildConditionalQuery(CourseBuildRead courseBuildRead, String current, String limit);

    //更新信息
    R updateCourseBuild(CourseBuild courseBuild);

    //删除
    R deleteCourseBuildById(CourseBuild courseBuild);

    //添加
    R insertCourseBuild(CourseBuild courseBuild);
}
